package org.example.comp_algorithm_back.controller;
import jakarta.annotation.Resource;
import org.example.comp_algorithm_back.common.CommonResponse;
import org.example.comp_algorithm_back.dto.DataPreprocessDTO;
import org.example.comp_algorithm_back.service.DataPreprocessingService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class DataPreprocessingController {
    @Resource
    private DataPreprocessingService dataPreprocessingService;

    @PostMapping("/preprocessing")
    public CommonResponse<Object> preprocessing(@RequestBody DataPreprocessDTO dataPreprocessDTO){
        return dataPreprocessingService.dataPreprocessing(dataPreprocessDTO);
    }

    
}
